#import <Foundation/Foundation.h>

//#define	sinaWeiBoAccount 2336105207
#define	sinaWeiBoAccount 2315687062

//define UI 
//Global UI values
#define	navBarRed		255.0f/255.0f
#define	navBarGreen		203.0f/255.0f
#define	navBarBlue		219.0f/255.0f
#define	navBarAlpha		0.5

//Baby Activity View
#define	commentsTextRed		140.0f/255.0f
#define	commentsTextGreen	140.0f/255.0f
#define	commentsTextBlue	140.0f/255.0f
#define	commentsTextAlpha	1.0


#define	cellBackgroundRed		255.0f/255.0f
#define	cellBackgroundGreen		250.0f/255.0f
#define	cellBackgroundBlue		250.0f/255.0f
#define	cellBackgroundAlpha		1.0


//setting view
#define	cellBackgroundSettingRed		255.0f/255.0f
#define	cellBackgroundSettingGreen		250.0f/255.0f
#define	cellBackgroundSettingBlue		250.0f/255.0f
#define	cellBackgroundSettingAlpha		1.0

//Report view
#define	cellBackgroundReportRed			255.0f/255.0f
#define	cellBackgroundReportGreen		250.0f/255.0f
#define	cellBackgroundReportBlue		250.0f/255.0f
#define	cellBackgroundReportAlpha		1.0

#define	columnBackgroundRed			210.0f/255.0f
#define	columnBackgroundGreen		0.0f/255.0f
#define	columnBackgroundBlue		100.0f/255.0f
#define	columnBackgroundAlpha		1.0

#define	graphBackgroundRed			255.0f/255.0f
#define	graphBackgroundGreen		203.0f/255.0f
#define	graphBackgroundBlue			219.0f/255.0f
#define	graphBackgroundAlpha		1.0

#define ScreenWidth    320
#define ScreenHeight   480


#define WEBSITE_URL    @"http://www.ibabynote.com"

/*
cell.backgroundColor = [UIColor colorWithRed:cellBackgroundReportRed green:cellBackgroundReportGreen 
										blue:cellBackgroundReportBlue alpha:cellBackgroundReportAlpha];

*/
//#define NSLocalizedString(@"Default baby name",@"")		   @"乖乖"

/*
"zh-Hans",
en,
fr,
de,
ja,
nl,
it,
es,
pt,
"pt-PT",
da,
fi,
nb,
sv,
ko,
"zh-Hant",
ru,
pl,
tr,
uk,
ar,
hr,
cs,
el,
he,
ro,
sk,
th,
id,
"en-GB",
ca,
hu,
vi
*/


#define DATE_FORMAT				   @"yyyy/MM/dd"
#define DATE_FORMAT_NO_YEAR        @"DATE_FORMAT_NO_YEAR/dd"
#define DATE_TIME_FORMAT           @"yyyy/MM/dd hh:mm"
#define DATE_TIME_FORMAT_NO_YEAR   @"MM/dd hh:mm"


#define kBabyGrowTableViewRowHeight     69
#define kBabyActivityTableViewRowHeight 50
#define kBabyPhotoListViewRowHeight		65

#define THUM_SIZE    80
  

//#define NSLocalizedString(@"Mum",@"")	 @"母乳"
//#define NSLocalizedString(@"Milk",@"")	 @"奶粉"
//#define NSLocalizedString(@"Water",@"") @"喝水"
//#define NSLocalizedString(@"Pee",@"")         @"尿"
//#define NSLocalizedString(@"Shit",@"")        @"便便"
//BabyAcitivityView
//#define NSLocalizedString(@"Add",@"")					 @"添加"
//#define NSLocalizedString(@"Del",@"")					 @"删除"
//#define NSLocalizedString(@"Done",@"")				 @"完成"
//#define NSLocalizedString(@"Alert",@"")				 @"提示"
//#define NSLocalizedString(@"Input text too long",@"")			 @"输入字符过多"

//#define NSLocalizedString(@"Notes",@"")			 @"备注"
//#define NSLocalizedString(@"Please input notes...",@"")	 @"请输入备注(50字内)"
//#define NSLocalizedString(@"Duration(min)",@"")	 @"时间(min): "
//#define NSLocalizedString(@"Amount(ml)",@"")	 @"数量(ml): "
//#define NSLocalizedString(@"Amount(ml)",@"") @"数量(ml): "

//#define NSLocalizedString(@"Activity Records",@"")  @"活动记录"
//#define NSLocalizedString(@"Time Activity Amount",@"")		   @"时间			活动			数量"

//BABY GROW View
//#define NSLocalizedString(@"Grow Records",@"")  @"成长记录"
//#define NSLocalizedString(@"Height",@"") @"身高"
//#define NSLocalizedString(@"cm",@"") @"cm"
//#define NSLocalizedString(@"Weight",@"") @"体重"
//#define NSLocalizedString(@"kg",@"") @"kg"
//#define NSLocalizedString(@"HeadCir",@"") @"头围"
//#define NSLocalizedString(@"cm)",@"") @"cm"
//#define NSLocalizedString(@"Date)",@"") @"日期"
//#define NSLocalizedString(@"Invalid input value)",@"")  @"输入值不合法"
//#define NSLocalizedString(@"Input date should not early than birthday)",@"")  @"时间不能早于生日"
//#define NSLocalizedString(@"year(s)",@"")   @"岁"  
//#define NSLocalizedString(@"month",@"")  @"个月"
//#define NSLocalizedString(@"day",@"")    @"天"
//#define NSLocalizedString(@"Choose Pic...",@"")  @"选取图片.."

#define BABY_GROW_ENTRY_CONTENT_STR	@"#宝宝日记#我家%@,%@,身高 %.1fcm,体重 %.1fkg,头围 %.1fcm"
#define BABY_GROW_ENTRY_SUMMARY_STR	@"%@,身高 %.1fcm,体重 %.1fkg,头围 %.1fcm"
#define BABY_ACTIVITY_ENTRY_CONTENT_STR	@"#宝宝日记#我家%@,%@ %@ %@ %@"
#define BABY_PHOTO_ENTRY_CONTENT_STR	@"#宝宝日记#我家%@,%@ %@"

//#define NSLocalizedString(@"Backing up, don't exit",@"")  @"正在备份数据.请不要退出..."

//Report
//#define TITLE_REPORT_LIST_VIEW        @"报告"
//#define NSLocalizedString(@"Detail Report", @"")      @"详细报告"
//#define NSLocalizedString(@"Baby Activity Report", @"")    @"活动记录报告"

//#define NSLocalizedString(@"Last 12 hours", @"")	@"最近12小时"
//#define NSLocalizedString(@"Last 24 hours", @"")	@"最近24小时"
//#define NSLocalizedString(@"Last 5 days", @"")		@"最近一周对比"
//#define NSLocalizedString(@"Custom date", @"")		@"自定义时间段"


//#define NSLocalizedString(@"Mum       %d times       %d min ",@"")			@"母乳        %d次       %dmin"
//#define NSLocalizedString(@"Milk       %d times       %d ml",@"")			@"奶粉        %d次       %dml"
//#define NSLocalizedString(@"Water       %d times       %d ml",@"")		@"喝水        %d次       %dml"
//#define NSLocalizedString(@"Pee       %d times",@"")				@"尿          %d次"
//#define NSLocalizedString(@"Shit       %d times",@"")				@"便便        %d次"

#define BABY_ACTIVITY_REPORT_FORMAT_STR			@"#宝宝日记# 我家%@,从%@到%@,母乳:%d次 %dmin,奶粉:%d次 %dml,喝水:%d次 %dml,尿:%d次,便便:%d次"



//#define NSLocalizedString(@"counts", @"")				@"次"
//#define AMOUNT_SUFFIX				@"ml"

//#define NSLocalizedString(@"Detail Report", @"")				  @"详细报告"
//#define NSLocalizedString(@"Custom Time", @"")				  @"自定义日期"
//#define NSLocalizedString(@"Summary", @"")		  @"统计信息"
//#define NSLocalizedString(@"Details", @"")		  @"详细信息"
//#define NSLocalizedString(@"View Report", @"")			  @"查看报告"
//#define TITLE_ALERT_TIMESPAN_SETTINGS_ERROR		  @"结束时间不能早于开始时间!"
//#define NSLocalizedString(@"No record according rule", @"")    @"没有符合条件的记录!"

//baby photo

//#define NSLocalizedString(@"Baby Album", @"")	@"宝宝相册"
//#define BABY_GROW_PHOTO_ALBUM	@"成长相册"
//#define NSLocalizedString(@"Baby grow photo album", @"")	@"宝宝成长过程"
//#define NSLocalizedString(@"Other photo album", @"")	@"随手拍相册"
//#define NSLocalizedString(@"Take baby photo anywhere", @"")	@"随手拍下宝宝的活动"
//#define NSLocalizedString(@"Edit Photo Record", @"")	@"编辑相册"

//#define NSLocalizedString(@"Photo Records", @"") @"图片记录"
//#define NSLocalizedString(@"Please select photo", @"")  @"您没有选定照片"

//settings
//#define NSLocalizedString(@"Settings", @"")					 @"设置"
//#define NSLocalizedString(@"Basic Settings", @"")    @"基本信息"
//#define NSLocalizedString(@"Backup", @"")   @"备份"
//#define NSLocalizedString(@"Email all records", @"")   @"Email所有的记录"
//#define NSLocalizedString(@"Backup to server", @"")   @"备份到云端"
//#define NSLocalizedString(@"Bind with twitter", @"")	     @"账号绑定"
//#define NSLocalizedString(@"Share activity record", @"")	     @"分享单条活动记录"
//#define SINA_LOGIN							 @"Sina 微博绑定"
//#define NSLocalizedString(@"Tecent Weibo Bind", @"")						 @"Tencent 微博绑定"
//#define NSLocalizedString(@"Log off", @"")								 @"注销"
//#define NSLocalizedString(@"About", @"")								 @"关于"
//#define NSLocalizedString(@"Feedback", @"")							 @"意见反馈"
#define FEEDBACK_TEMPLATE					 @"@宝宝日记官方微博:我想给你提点建议"
#define FOLLOW_TEMPLATE					     @"感谢您关注宝宝日记官方微博!我们会继续努力!"
#define RECOMMEND_TEMPLATE					 @"@宝宝日记官方微博,我装上了 宝宝日记客户端!太给力了!推荐你们也装一个吧!去AppStore搜索 宝宝日记Free 即可"


//#define NSLocalizedString(@"Name", @"")				 @"姓名"
//#define NSLocalizedString(@"Set Birthday", @"")			 @"生日设定"
//#define NSLocalizedString(@"Set Gender", @"")			     @"性别设定"

//#define NSLocalizedString(@"Please input name...", @"")				 @"请输入姓名..."
//#define NSLocalizedString(@"Girl", @"")	  @"女孩"
//#define NSLocalizedString(@"Boy", @"")	  @"男孩"

//#define NSLocalizedString(@"Name: %@", @"")			@"姓名: %@"
//#define NSLocalizedString(@"Birthday: %@", @"")		@"生日: %@"
//#define NSLocalizedString(@"Gender: %@", @"")		@"性别: %@"

//#define NAME_STR			@"姓名"
//#define BIRTHDAY_STR		@"生日"
//#define GENDER_STR		    @"性别"
//#define TIME				@"时间"
//#define AMOUNT				@"数量"
//#define CATEGORY			@"活动类别"
//#define COMMENTS			@"备注"

//#define NSLocalizedString(@"Mail cancelled", @"")		@"取消邮件发送"
//#define NSLocalizedString(@"Mail saved", @"")		@"邮件已保存"
//#define NSLocalizedString(@"Send successful", @"")		@"邮件已发送"
//#define NSLocalizedString(@"Send Failed", @"")		@"邮件发送失败"
//#define NSLocalizedString(@"Not send", @"")	@"邮件尚未发送"

//#define HTML_HEADER			 @"时间,类型,备注,数量"

//#define BABY_ACTIVITY_REPORT_TITLE			 @"时间,类型,备注,数量"
//#define BABY_GROW_REPORT_TITLE			     @"时间,姓名,身高,体重,头围,备注"

//#define NSLocalizedString(@"No record in database!", @"")  @"数据库中没有记录!"

//#define NSLocalizedString(@"Start Date", @"")				 @"开始日期"
//#define NSLocalizedString(@"End Date", @"")				 @"结束日期"


//#define NSLocalizedString(@"Log in successfully", @"")       @"微博账号绑定成功！您可以将记录发送到微博中啦！"
//#define NSLocalizedString(@"You are not log in yet", @"")       @"您还没有绑定微博账号！请先绑定微博！"
//#define NSLocalizedString(@"Log successfully, you can send twitter directly!", @"")       @"微博账号已经绑定！您可以直接发微博啦！"
//#define NSLocalizedString(@"Please confirm to log off", @"")        @"真的要取消绑定嘛?"
//#define NSLocalizedString(@"Post Successfully!", @"")       @"微博发送成功!"
//#define NSLocalizedString(@"No Network Connection", @"")    @"你的网络好像有点问题!"

//#define NSLocalizedString(@"Take Photo", @"")				 @"拍照"
//#define NSLocalizedString(@"User Library", @"");			 @"用户相册"
//#define NSLocalizedString(@"Remove Image", @"")			 @"清除图片"

//#define NSLocalizedString(@"Welcome use iBabyNotes", @"")				 @"欢迎使用宝宝日记"

/*
#define NSLocalizedString(@"Mum",@"")	 @"MUM"
#define NSLocalizedString(@"Milk",@"")	 @"MILK"
#define NSLocalizedString(@"Water",@"") @"WATER"
#define NSLocalizedString(@"Pee",@"")         @"PEE"
#define NSLocalizedString(@"Shit",@"")        @"SHIT"
//BabyAcitivityView
#define NSLocalizedString(@"Add",@"")					 @"ADD"
#define NSLocalizedString(@"Del",@"")					 @"DEL"
#define NSLocalizedString(@"Done",@"")				 @"DONE"
#define NSLocalizedString(@"Alert",@"")				 @"NOTICE"

#define NSLocalizedString(@"Notes",@"")			 @"COMMENTS"
#define NSLocalizedString(@"Please input notes...",@"")	 @"Please input comments(40 words limits)"
#define NSLocalizedString(@"Duration(min)",@"")	 @"Duration(min): "
#define NSLocalizedString(@"Amount(ml)",@"")	 @"Amount(ml): "
#define NSLocalizedString(@"Amount(ml)",@"") @"Amount(ml): "

#define TITLE_EDIT_BABY_ACTIVITY_VIEW      @"Activity Record"
#define NSLocalizedString(@"Activity Records",@"")  @"RECORD"
#define NSLocalizedString(@"Time Activity Amount",@"")		   @"TIME			ACTIVITY			AMOUNT"


//Report
#define TITLE_REPORT_LIST_VIEW      @"REPORT"
#define NSLocalizedString(@"Detail Report", @"")    @"DETAIL REPORT"

#define NSLocalizedString(@"Last 12 hours", @"")	@"Last 12 hours"
#define NSLocalizedString(@"Last 24 hours", @"")	@"Last 24 hours"
#define NSLocalizedString(@"Last 5 days", @"")		@"Last 5 days"
#define NSLocalizedString(@"Custom date", @"")		@"Custom Report"


#define NSLocalizedString(@"Mum       %d times       %d min ",@"")			@"MUM           %d times       %d min"
#define NSLocalizedString(@"Milk       %d times       %d ml",@"")			@"MILK          %d times       %d ml"
#define NSLocalizedString(@"Water       %d times       %d ml",@"")		@"WATER         %d times       %d ml"
#define NSLocalizedString(@"Pee       %d times",@"")				@"PEE           %d times"
#define NSLocalizedString(@"Shit       %d times",@"")				@"SHIT          %d times"

#define NSLocalizedString(@"counts", @"")				@"times"
#define AMOUNT_SUFFIX				@"ml"

#define NSLocalizedString(@"Detail Report", @"")				  @"DETAIL REPORT"
#define NSLocalizedString(@"Custom Time", @"")				  @"CUSTOM TIME"
#define NSLocalizedString(@"Summary", @"")		  @"SUMMARY"
#define NSLocalizedString(@"Details", @"")		  @"DETAILS"
#define NSLocalizedString(@"View Report", @"")			  @"REPORT"
#define TITLE_ALERT_TIMESPAN_SETTINGS_ERROR		  @"Make sure start date is early than end date!"
#define NSLocalizedString(@"No record according rule", @"")    @"No record according rule!"

//settings
#define NSLocalizedString(@"Settings", @"")					 @"SETTINGS"
#define NSLocalizedString(@"Basic Settings", @"")    @"BABY INFO"
#define NSLocalizedString(@"Backup", @"")   @"BACK UP"
#define NSLocalizedString(@"Email all records", @"")   @"Email All Record"
#define NSLocalizedString(@"Name", @"")				 @"NAME"
#define NSLocalizedString(@"Set Birthday", @"")			 @"BIRTHDAY"
#define NSLocalizedString(@"Please input name...", @"")				 @"Please Input Name..."

#define NSLocalizedString(@"Name: %@", @"")			@"NAME: %@"
#define NSLocalizedString(@"Birthday: %@", @"")		@"BIRTHDAY: %@"

#define NSLocalizedString(@"Mail cancelled", @"")		@"Result: canceled"
#define NSLocalizedString(@"Mail saved", @"")		@"Result: saved"
#define NSLocalizedString(@"Send successful", @"")		@"Result: sent"
#define NSLocalizedString(@"Send Failed", @"")		@"Result: failed"
#define NSLocalizedString(@"Not send", @"")	@"Result: not sent"

#define REPORT_TITLE			 @"TIME,CATEGORY,COMMENTS,AMOUNT"

#define NSLocalizedString(@"No record in database!", @"")  @"No Record!"

#define NSLocalizedString(@"Start Date", @"")				 @"Start Date"
#define NSLocalizedString(@"End Date", @"")				 @"End Date"
*/
